<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>首页</title>
</head>
<body>
<center>
    <h1>用户注册</h1>
    <form action="/myweb/reg" method="get">
    <table border="1">
    <tr>
        <td>用户名</td>
        <td><input name="username" input size="20" type="text"></td>
    </tr>
        <tr>
            <td>密码</td>
            <td><input name="password" input size="20" type="password"></td>
        </tr>
        <tr>
            <td>名称</td>
            <td><input name="nickname" input size="20" type="text"></td>
        </tr>
        <tr>
            <td>年龄</td>
            <td><input name="age" input size="20"type="text"></td>
        </tr>
        <tr>
            <td colspan="2" align="center"><input type="button" value="注册"onclick="alert('未成年注册你大爷啊！')"></td>
        </tr>
    </table>
    </form>
</center>
</body>
</html>